﻿using System.Windows;
using System.Windows.Controls;

namespace C11_PRC_Editor
{
    /// <summary>
    /// Interaktionslogik für ControlTest.xaml
    /// </summary>
    public partial class ControlTest : UserControl
    {
        #region Public Fields

        // Using a DependencyProperty as the backing store for TextBoxText.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty TextBoxTextProperty =
            DependencyProperty.Register("TextBoxText", typeof(string), typeof(ControlTest), null);

        #endregion Public Fields

        #region Public Constructors

        public ControlTest()
        {
            InitializeComponent();
            this.DataContext = this;
        }

        #endregion Public Constructors

        #region Public Properties

        public string LabelText { get; set; }
        //public float TextBoxText { get; set; }

        public string TextBoxText
        {
            get { return (string)GetValue(TextBoxTextProperty); }
            set { SetValue(TextBoxTextProperty, value); }
        }

        #endregion Public Properties
    }
}